package com.johnny.nob.domain.business;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.johnny.core.hibernate.orm.IdEntity;

@Entity
public class Customer extends IdEntity {
	private String account;
	private String name;
	private String branch;
	private String currency;
	private String telephone;
	private String fax;
	private String email;
	private String contractPerson;
	private String streetName;
	private String zipCode;
	private String country;
	private String status;
	private String webUserId;
	private OnlineDiscountGroup onlineDiscountGroup;

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContractPerson() {
		return contractPerson;
	}

	public void setContractPerson(String contractPerson) {
		this.contractPerson = contractPerson;
	}

	public String getStreetName() {
		return streetName;
	}

	public void setStreetName(String streetName) {
		this.streetName = streetName;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getWebUserId() {
		return webUserId;
	}

	public void setWebUserId(String webUserId) {
		this.webUserId = webUserId;
	}

	@ManyToOne
	public OnlineDiscountGroup getOnlineDiscountGroup() {
		return onlineDiscountGroup;
	}

	public void setOnlineDiscountGroup(OnlineDiscountGroup onlineDiscountGroup) {
		this.onlineDiscountGroup = onlineDiscountGroup;
	}

}
